package com.xbongbong.pro.weblist.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 列表信息
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/20 22:09
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DataInfoDTO extends BaseDTO {
    private static final long serialVersionUID = -5817084682682399813L;
    /**
     * 子业务类型
     */
    private Integer subBusinessType;

    /**
     * @see com.xbongbong.pro.enums.SaasMarkEnum
     */
    @NotNull(message = "{dto.msg.dataInfo.saasMark.NotNull}")
    private Integer saasMark;
    @NotNull(message = "menuId {javax.validation.constraints.NotNull.message}")
    private Long menuId;

    private Long formId;

    private Long dataId;

    /**
     * 业务类型
     */
    @NotNull(message = "businessType {javax.validation.constraints.NotNull.message}")
    private Integer businessType;
}
